<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class DutiesTest extends Model
{
    public $timestamps = false;
    protected $connection = 'xz';
    protected $table = 'duties_test';
    use HasFactory;

    public function paper()
    {
        return $this->hasPne('App\Models\TestPaper','id','tp_id');
    }

}
